All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----com.apple.alpha.core.NativeObject | +----com.apple.alpha.core.DistributedLock
NSDistributedLock
.
[[NSDistributedLock
alloc] init]
.
- initWithPath:
on a newly allocated object.
- breakLock
Objective-C instance method.
- lockDate
Objective-C instance method.
+ lockWithPath:
Objective-C class method.
- tryLock
Objective-C instance method.
- unlock
Objective-C instance method.
protected DistributedLock(boolean shouldAllocate, int objcObject)
public DistributedLock()
[[NSDistributedLock
alloc] init]
.
public DistributedLock(String path)
- initWithPath:
on a newly allocated object.
public static native DistributedLock lockWithPath(String path)
+ lockWithPath:
Objective-C class method.
public native boolean tryLock()
- tryLock
Objective-C instance method.
public native void unlock()
- unlock
Objective-C instance method.
public native void breakLock()
- breakLock
Objective-C instance method.
public native Date lockDate()
- lockDate
Objective-C instance method.
All Packages Class Hierarchy This Package Previous Next Index